import testView = require('../../../views/testView');
import appClient = require('../../../../../platform/client/appClient');

/** 视图配置 */
export let defaultObject = new testView.testView();

let menuScan = new appClient.menu();
menuScan.caption = "扫一扫";
menuScan.onClick = () => {
    appClient.mainApplication.mainForm.navigate('project/test/config/client/mobileapp/aboutViewConfig', '关于');
};

let menuHome = new appClient.menu();
menuHome.caption = "首页";

defaultObject.menus = [
    menuScan,
    menuHome
];
defaultObject.caption = "测试";